Tor Lillqvist [Wed, 27 Dec 2006 18:20:10 +0000 (18:20 +0000)]
Add gtk_status_icon_get_screen and gtk_status_icon_set_screen.
2006-12-27 Tor Lillqvist <tml@novell.com>
* gtk/gtk.symbols: Add gtk_status_icon_get_screen and
gtk_status_icon_set_screen.
* gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
on Windows. Keep track of where the last button click on the
taskbar icon took place, and return that. Obviously not correct if
no button has ever been clicked on the icon, or if the geometry of
the taskbar has changed since. But for most use cases where a menu
is going to be displayed as a direct result of a button click on
the status icon, works fine. (#377349)
Implement getting the orientation property on Windows.
(gtk_status_icon_embedded_changed)
(gtk_status_icon_orientation_changed): Ifdefify these functions
that are used only on X11.
Tor Lillqvist [Wed, 27 Dec 2006 15:40:37 +0000 (15:40 +0000)]
Fix typo. (#390035, Kazuki Iwamoto)
2006-12-27 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
typo. (#390035, Kazuki Iwamoto)
Matthias Clasen [Wed, 27 Dec 2006 07:17:53 +0000 (07:17 +0000)]
Accept NULL.
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
* gtk/gtkcombobox.c (gtk_combo_box_set_model):
(gtk_combo_box_unset_model): Handle repeated unsetting
of models without warnings. (#367529, Robert Ancell)
Matthias Clasen [Wed, 27 Dec 2006 06:50:31 +0000 (06:50 +0000)]
forgotten file
Matthias Clasen [Wed, 27 Dec 2006 06:49:49 +0000 (06:49 +0000)]
Use getters for http fields where available. (#364866, Björn Lindqvist)
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Use
getters for http fields where available. (#364866,
Björn Lindqvist)
Matthias Clasen [Wed, 27 Dec 2006 06:45:19 +0000 (06:45 +0000)]
Add a g_return_if_fail. (#362614, Xan Lopez)
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
(#362614, Xan Lopez)
Matthias Clasen [Wed, 27 Dec 2006 06:37:18 +0000 (06:37 +0000)]
If a required action is missing, don't recurse over the children.
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (update_node): If a required action
is missing, don't recurse over the children. (#349119,
Chris Moller)
Matthias Clasen [Wed, 27 Dec 2006 06:12:53 +0000 (06:12 +0000)]
Fix a few problems with nested menus in comboboxes (#386694, Yevgen
2006-12-17 Matthias Clasen <mclasen@redhat.com>
Fix a few problems with nested menus in comboboxes
(#386694, Yevgen Muntyan)
* gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
connect the activate callback.
(gtk_combo_box_menu_item_activate): Do nothing if called on
an item with a submenu.
(gtk_combo_box_menu_row_deleted): Remove a submenu when it
is empty.
Mariano Suárez-Alvarez [Tue, 26 Dec 2006 22:20:06 +0000 (22:20 +0000)]
Add a file-set signal to the filechooser button. Bug 353196.
2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
* gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
filechooser button. Bug 353196.
Kristian Rietveld [Tue, 26 Dec 2006 18:17:36 +0000 (18:17 +0000)]
fix typo causing the search dialog timeout never to be refreshed.
2006-12-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
the search dialog timeout never to be refreshed. (#389581,
Andrzej Szombierski).
Kristian Rietveld [Tue, 26 Dec 2006 16:13:02 +0000 (16:13 +0000)]
Lots of scrolling fixes. Made scrolling work properly in not fully
2006-12-26 Kristian Rietveld <kris@gtk.org>
Lots of scrolling fixes. Made scrolling work properly in not fully
validated tree views; fixed a bunch of corner cases.
* gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
upper - page_size, we know it is located at the end so the test for
dy + height has been dropped.
In the same case if area_below < 0, we know this is the last node
in the tree view so area_above is page_size - height of this row.
(validate_visible_area): got rid of subtracting new_height -
old_height from area_{below,above}, it didn't make any sense at
all and the full height of the row should be subtracted instead.
(validate_visible_area): when scrolling to a given path, set the
top row directly together with the dy offset, then sync that top_row
to the dy.
(gtk_tree_view_set_top_row): new function to directly set a top_row.
(gtk_tree_view_dy_to_top_row): refactored to use
gtk_tree_view_set_top_row().
(gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
(gtk_tree_view_adjustment_changed): only update our dy and
top_row if the adjustment's dy actually changed.
Christian Persch [Tue, 26 Dec 2006 14:49:34 +0000 (14:49 +0000)]
Return the correct value from gtk_notebook_insert_page if the page-added
2006-12-26 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
Return the correct value from gtk_notebook_insert_page if the
page-added handler reorders the tabs. Bug #345094.
Carlos Garnacho [Tue, 26 Dec 2006 11:02:15 +0000 (11:02 +0000)]
Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2006-12-26 Carlos Garnacho <carlosg@gnome.org>
Fix small regressions in GtkNotebook tab detaching. Bug #378852.
* gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
scrolling when hovering with a detached tab.
(gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
focus tab has changed during a tab DND operation.
(gtk_notebook_drag_end): ensure that the dropped tab gets focused.
(gtk_notebook_paint): do not take cur_page as a reference to paint the
box if it's detached.
(gtk_notebook_calculate_tabs_allocation): focus_tab may be different
to the detached tab if we hover the arrows during a tabs detaching
operation, do not allocate it unconditionally in 0,0.
Carlos Garnacho [Tue, 26 Dec 2006 10:31:36 +0000 (10:31 +0000)]
Expose improvements for GtkNotebook. Bug #383435
2006-12-26 Carlos Garnacho <carlosg@gnome.org>
Expose improvements for GtkNotebook. Bug #383435
* gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
labels.
(gtk_notebook_draw_focus): do not repaint the whole focused tab again.
(gtk_notebook_draw_tab): do not send handmade expose events to tab
labels.
Matthias Clasen [Tue, 26 Dec 2006 06:57:50 +0000 (06:57 +0000)]
Return FALSE. (#389623, Carlos Garnacho Parro)
2006-12-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemunix.c (execute_callbacks): Return
FALSE. (#389623, Carlos Garnacho Parro)
Matthias Clasen [Tue, 26 Dec 2006 06:53:57 +0000 (06:53 +0000)]
Avoid spurious redraws.
2006-12-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (stop_scrolling): Avoid spurious
redraws.
Christian Persch [Mon, 25 Dec 2006 12:29:35 +0000 (12:29 +0000)]
Notify the "embedded" property also on normal construction and when
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkplug.c: (gtk_plug_construct_for_display),
(gtk_plug_unrealize): Notify the "embedded" property also on
normal construction and when destroying the socket window.
Bug #388738.
Christian Persch [Mon, 25 Dec 2006 12:21:16 +0000 (12:21 +0000)]
Set the HIG spacings directly instead of using style-set handlers. Fix the
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
(gtk_about_dialog_init), (display_credits_dialog),
(display_license_dialog):
* gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
(gtk_file_chooser_dialog_init),
(gtk_file_chooser_dialog_constructor),
(gtk_file_chooser_dialog_unmap):
* gtk/gtkrecentchooserdefault.c:
(_gtk_recent_chooser_default_init):
* gtk/gtkrecentchooserdialog.c:
(gtk_recent_chooser_dialog_class_init),
(gtk_recent_chooser_dialog_init),
(gtk_recent_chooser_dialog_constructor),
(gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
instead of using style-set handlers. Fix the filechooser's spacing
between content and action area to 12px. Bug #372447.
Christian Persch [Mon, 25 Dec 2006 12:12:10 +0000 (12:12 +0000)]
Don't assume statusbar->label is the statusbar's frame's child when
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
Don't assume statusbar->label is the statusbar's frame's child when
shrinking the size allocation when the grip is shown. Bug #372452.
Christian Persch [Mon, 25 Dec 2006 12:03:44 +0000 (12:03 +0000)]
Fix mem leaks. Bug #389194.
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
(add_custom_paper): Fix mem leaks. Bug #389194.
Guntupalli Karunakar [Mon, 25 Dec 2006 05:05:57 +0000 (05:05 +0000)]
Fix translation bug #389296
Matthias Clasen [Mon, 25 Dec 2006 03:57:39 +0000 (03:57 +0000)]
Remove debug output.
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextutil.c: Remove debug output.
* gtk/gtktextview.c: Improve the DND scrolling
behaviour. (#92387, Carlos Garnacho Parro)
Matthias Clasen [Sun, 24 Dec 2006 22:12:13 +0000 (22:12 +0000)]
Improve translators comments. (#389298, Christian Persch)
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccellabel.c: Improve translators comments.
(#389298, Christian Persch)
Kristian Rietveld [Sun, 24 Dec 2006 19:32:38 +0000 (19:32 +0000)]
Remove stale cvs conflict marker.
Bastien Nocera [Sun, 24 Dec 2006 15:57:01 +0000 (15:57 +0000)]
Fix typo (s/expansive/expensive) (#389183)
2006-12-24 Bastien Nocera <hadess@hadess.net>
* gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
(#389183)
Christian Persch [Sun, 24 Dec 2006 13:16:05 +0000 (13:16 +0000)]
Make gtk_printer_list_papers public. Bug #345587.
2006-12-24 Christian Persch <chpe@cvs.gnome.org>
* docs/reference/gtk/gtk-sections.txt:
* gtk/gtk.symbols:
* gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.c: (gtk_printer_list_papers):
* gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
Carlos Garcia Campos [Sun, 24 Dec 2006 11:30:22 +0000 (11:30 +0000)]
Don't ignore reverse portrait option when is selected in page setup
2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
* gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
when is selected in page setup dialog. Fixes bug #365047.
Behdad Esfahbod [Sun, 24 Dec 2006 09:54:56 +0000 (09:54 +0000)]
Use gtk_border_free when freeing border.
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkentry.c (_gtk_entry_effective_inner_border):
Use gtk_border_free when freeing border.
Matthias Clasen [Sun, 24 Dec 2006 06:32:07 +0000 (06:32 +0000)]
When shift-clicking, keep the larger part of the selection selected.
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_button_press): When
shift-clicking, keep the larger part of the selection
selected. (#353709, Benjamin Otte)
* gtk/gtkbutton.c (gtk_button_get_props): Use
gtk_border_free when freeing borders.
Matthias Clasen [Sun, 24 Dec 2006 06:06:37 +0000 (06:06 +0000)]
Be more careful when faking a button release. (#323146, Travis Abbott)
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c (gtk_button_grab_notify): Be more
careful when faking a button release. (#323146,
Travis Abbott)
Matthias Clasen [Sun, 24 Dec 2006 05:34:38 +0000 (05:34 +0000)]
Draw the handle with the right orientation, depending on the position of
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkhandlebox.c (draw_textured_frame): Draw the
handle with the right orientation, depending on the
position of the handlebox. (#159764, Benjamin Berg)
Behdad Esfahbod [Sun, 24 Dec 2006 05:32:38 +0000 (05:32 +0000)]
Use gslice for GtkBorder (#383557).
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
GtkBorder (#383557).
Behdad Esfahbod [Sun, 24 Dec 2006 05:29:25 +0000 (05:29 +0000)]
Bug 340141 – Update to Pango 1.16 API
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
Bug 340141 – Update to Pango 1.16 API
* gdk/gdkpango.c (layout_iter_get_line_clip_region),
(gdk_pango_layout_line_get_clip_region):
* gtk/gtkcalendar.c (gtk_calendar_size_request):
* gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
(get_layout_position), (gtk_entry_find_position),
(gtk_entry_adjust_scroll):
* gtk/gtkiconview.c (get_pango_text_offsets):
* gtk/gtklabel.c (get_cursor_direction):
* gtk/gtkstyle.c (get_insensitive_layout):
* gtk/gtktextdisplay.c (render_para):
* gtk/gtktextlayout.c (allocate_child_widgets),
(find_display_line_below), (find_display_line_above),
(gtk_text_layout_move_iter_to_previous_line),
(gtk_text_layout_move_iter_to_next_line),
(gtk_text_layout_move_iter_to_line_end),
(gtk_text_layout_iter_starts_line),
(gtk_text_layout_move_iter_to_x):
* gtk/gtktextutil.c (limit_layout_lines):
Use the _readonly version of pango_layout_iter_get_line(),
pango_layout_iter_get_run(), pango_layout_get_line(), and
pango_layout_get_lines().
* gtk/gtkmain.c (gtk_get_default_language): Use
pango_get_default_language().
Matthias Clasen [Sun, 24 Dec 2006 05:18:25 +0000 (05:18 +0000)]
Emit changed and notify:text only once. The same fix was applied for
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_set_text): Emit changed
and notify:text only once. The same fix was applied
for replacing the selection via DND or copy-and-paste.
(#64998, Damon Chaplin, Sven Herzberg)
Erdal Ronahi [Sat, 23 Dec 2006 21:41:42 +0000 (21:41 +0000)]
Updated Kurdish translation
Matthias Clasen [Sat, 23 Dec 2006 21:25:16 +0000 (21:25 +0000)]
Be careful to not override GTK+ translations with the translations of the
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimmulticontext.c: Be careful to not override
GTK+ translations with the translations of the input
method. (#317080, Tor Lillqvist)
* modules/input/imcedilla.c: Use standard macros
for translation domain and locale dir.
Matthias Clasen [Sat, 23 Dec 2006 21:08:45 +0000 (21:08 +0000)]
Allow composing l with stroke. (#349638, Daniel Lublin)
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontextsimple.c: Allow composing l with
stroke. (#349638, Daniel Lublin)
Matthias Clasen [Sat, 23 Dec 2006 21:00:53 +0000 (21:00 +0000)]
Fix a thinko in the suffix calculation. (#382369, Christian Persch)
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gen-paper-names.c: Fix a thinko in the suffix
calculation. (#382369, Christian Persch)
* gtk/paper_names_offsets.c: Regenerated.
Matthias Clasen [Sat, 23 Dec 2006 03:35:21 +0000 (03:35 +0000)]
Move G_GNUC_INTERNAL before function declarations. (#352276, Damien
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* modules/engines/pixbuf/pixbuf.h:
* modules/engines/pixbuf/pixbuf-rc-style.h:
* modules/engines/pixbuf/pixbuf-style.h: Move
G_GNUC_INTERNAL before function declarations. (#352276,
Damien Carbery)
Matthias Clasen [Sat, 23 Dec 2006 02:45:31 +0000 (02:45 +0000)]
remove extra unref
Matthias Clasen [Sat, 23 Dec 2006 02:39:45 +0000 (02:39 +0000)]
Fix some leaks. (#348108, Chris Wilson)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
Wilson)
2
Matthias Clasen [Fri, 22 Dec 2006 19:10:43 +0000 (19:10 +0000)]
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
Matthias Clasen [Fri, 22 Dec 2006 17:46:32 +0000 (17:46 +0000)]
Add functions to allow threadsafe handling of idles and timeouts wrt. to
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdk.h:
* gdk/gdk.c: Add functions to allow threadsafe handling
of idles and timeouts wrt. to the GDK lock. (#321886,
Chris Wilson)
Matthias Clasen [Fri, 22 Dec 2006 17:06:30 +0000 (17:06 +0000)]
Use pango_cairo_show_error_underline. (#340141, Behdad Esfahbod)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkpango.c: Use pango_cairo_show_error_underline.
(#340141, Behdad Esfahbod)
Matthias Clasen [Fri, 22 Dec 2006 16:13:49 +0000 (16:13 +0000)]
Check for getc_unlocked.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for getc_unlocked.
* gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
unavailable. (#381499)
Matthias Clasen [Fri, 22 Dec 2006 15:39:09 +0000 (15:39 +0000)]
typo fix
Matthias Clasen [Fri, 22 Dec 2006 07:18:21 +0000 (07:18 +0000)]
Make it possible to track the embeddedness of statusicon (#387215, Martyn
2006-12-22 Matthias Clasen <mclasen@redhat.com>
Make it possible to track the embeddedness of
statusicon (#387215, Martyn Russell, patch by Christian
Persch)
* gtk/gtkstatusicon.c: Add orientation and embedded properties.
* gtk/gtkplug.c:
* gtk/gtkplug-x11.c: Add an embedded property.
* tests/teststatusicon.c: Test the new properties.
Matthias Clasen [Fri, 22 Dec 2006 06:29:51 +0000 (06:29 +0000)]
Don't leak draw_border. (#387170, Kjartan Maraas)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
leak draw_border. (#387170, Kjartan Maraas)
Matthias Clasen [Fri, 22 Dec 2006 06:19:38 +0000 (06:19 +0000)]
Handle bmps with more than 8 bits per channel. (#172584, David Costanzo)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c (decode_bitmasks): Handle bmps
with more than 8 bits per channel. (#172584,
David Costanzo)
Matthias Clasen [Fri, 22 Dec 2006 06:01:28 +0000 (06:01 +0000)]
Handle offsets more carefully. (#172188, David Costanzo)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c: Handle offsets more carefully. (#172188,
David Costanzo)
* io-bmp.c: Handle v5 and OS/2 v2 bmps.
* io-bmp.c: Handle alpha masks in v4 and v5 bmps.
Matthias Clasen [Fri, 22 Dec 2006 03:14:31 +0000 (03:14 +0000)]
Emit the closed signal when closing the loader, pointed out by David
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
the closed signal when closing the loader, pointed out
by David Necas.
Matthias Clasen [Thu, 21 Dec 2006 23:27:01 +0000 (23:27 +0000)]
Handle invalid gif animations a little bit more robustly. (#357974,
* io-gif.c (gif_get_lzw): Handle invalid gif animations
a little bit more robustly. (#357974, Vassilis Pandis,
patch by Felix Riemann)
Matthias Clasen [Thu, 21 Dec 2006 20:40:24 +0000 (20:40 +0000)]
Remove redundant size checks, and document that width, height must be > 0.
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
* gdk-pixbuf.c (gdk_pixbuf_new): Remove redundant size
checks, and document that width, height must be > 0.
(#343330, Felix Riemann)
Matthias Clasen [Thu, 21 Dec 2006 17:00:59 +0000 (17:00 +0000)]
Link against GLib. (#341158, Alexey Rusakov)
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Link against GLib. (#341158, Alexey Rusakov)
Matthias Clasen [Thu, 21 Dec 2006 16:41:11 +0000 (16:41 +0000)]
Typo fix. (#388123, Murray Cumming)
* gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
Typo fix. (#388123, Murray Cumming)
Matthias Clasen [Thu, 21 Dec 2006 16:33:29 +0000 (16:33 +0000)]
Generate double-click events. (#380421, Tommi Komulainen)
* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
Generate double-click events. (#380421, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:28:28 +0000 (16:28 +0000)]
Correct return_if_fail checks. (#379803, Tommi Komulainen)
* gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
(_gdk_input_enter_event): Correct return_if_fail checks.
(#379803, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:25:01 +0000 (16:25 +0000)]
Improve docs. (#353438, Mariano Suárez-Alvarez)
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdisplay.c (gdk_display_beep): Improve docs.
(#353438, Mariano Suárez-Alvarez)
Matthew Barnes [Thu, 21 Dec 2006 12:34:41 +0000 (12:34 +0000)]
Add a function for converting a GdkColor to a string (#373856).
2006-12-21 Matthew Barnes <mbarnes@redhat.com>
* docs/reference/gdk/gdk-sections.txt:
* gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
converting a GdkColor to a string (#373856).
* configure.in: Bump pango requirement to 1.15.2.
Matthias Clasen [Thu, 21 Dec 2006 05:11:00 +0000 (05:11 +0000)]
Mark arrow keys as translatable
Matthias Clasen [Wed, 20 Dec 2006 21:18:27 +0000 (21:18 +0000)]
Add signal documentation. (#317064, Søren Wedel Nielsen)
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c: Add signal documentation. (#317064,
Søren Wedel Nielsen)
Matthias Clasen [Wed, 20 Dec 2006 20:57:49 +0000 (20:57 +0000)]
Silently return if a drag is already in progress, rather than asserting.
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
Silently return if a drag is already in progress, rather
than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
Matthias Clasen [Wed, 20 Dec 2006 19:02:21 +0000 (19:02 +0000)]
Allow any GtkDialog that implements GtkFileChooser as dialog. (#335473,
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
Allow any GtkDialog that implements GtkFileChooser as
dialog. (#335473, Tommi Komulainen)
Mikael Hallendal [Wed, 20 Dec 2006 14:02:43 +0000 (14:02 +0000)]
Fixed a last minute change in the quartz backend.
2006-12-20 Mikael Hallendal <micke@imendio.com>
* gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
change in the quartz backend.
Mikael Hallendal [Wed, 20 Dec 2006 13:24:05 +0000 (13:24 +0000)]
Added gtkstatusicon-quartz.c Implements the quartz backend for the status
2006-12-20 Mikael Hallendal <micke@imendio.com>
* gtk/Makefile.am: Added gtkstatusicon-quartz.c
* gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
status icon.
* gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
Matthias Clasen [Wed, 20 Dec 2006 04:39:52 +0000 (04:39 +0000)]
Add a tooltip explaining the format of page ranges, and improve the page
2006-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Add a tooltip explaining the
format of page ranges, and improve the page sequence icon
for the case of n_copies == 1.
Matthias Clasen [Tue, 19 Dec 2006 20:45:04 +0000 (20:45 +0000)]
Don't spew a warning if the printer is already closed.
2006-12-19 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Don't
spew a warning if the printer is already closed.
Mikael Hallendal [Tue, 19 Dec 2006 15:53:44 +0000 (15:53 +0000)]
Splitted out the GdkPixbuf to NSImage routine so that it can be used from
2006-12-19 Mikael Hallendal <micke@imendio.com>
* gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
routine so that it can be used from libgtk as well (needed for
upcoming GtkStatusIcon support in the Quartz port).
* gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
created from GDK, this is not true for the status icon.
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkquartz.h: Added
gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
the status icon code.
Gabor Kelemen [Sun, 17 Dec 2006 13:29:58 +0000 (13:29 +0000)]
Translation updated.
2006-12-17 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
Tristan Van Berkom [Sat, 16 Dec 2006 20:34:48 +0000 (20:34 +0000)]
Fixed a bug in set_property() (setting "window-placement-set" could result
* gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
(setting "window-placement-set" could result in a crash because
of boolean/enum mixup)
Federico Mena Quintero [Fri, 15 Dec 2006 20:13:01 +0000 (20:13 +0000)]
Merged from gtk-2-10:
2006-12-15 Federico Mena Quintero <federico@novell.com>
Merged from gtk-2-10:
* gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
the case where the new title is the same as the old title, to
preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
equivalent). Handle the case where title == priv->title. This
was found by the LSB compatibility tests:
https://bugzilla.novell.com/show_bug.cgi?id=223882
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
Dom Lachowicz [Fri, 15 Dec 2006 19:08:15 +0000 (19:08 +0000)]
Make GtkComboBox in "appears-as-list" mode more closely resemble its Win32
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
* gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
more closely resemble its Win32 counterpart. Bug #340204.
Gabor Kelemen [Fri, 15 Dec 2006 16:06:43 +0000 (16:06 +0000)]
Translation updated.
2006-12-15 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
Benjamin Berg [Thu, 14 Dec 2006 18:33:43 +0000 (18:33 +0000)]
Undo bogus commit.
Tim Janik [Thu, 14 Dec 2006 14:48:41 +0000 (14:48 +0000)]
added new docs.
Thu Dec 14 15:48:14 2006 Tim Janik <timj@imendio.com>
* gtk/gtk-sections.txt: added new docs.
Kjartan Maraas [Thu, 14 Dec 2006 14:16:55 +0000 (14:16 +0000)]
file si.po was initially added on branch gtk-2-10.
Kjartan Maraas [Thu, 14 Dec 2006 14:15:15 +0000 (14:15 +0000)]
file as.po was initially added on branch gtk-2-10.
Ankitkumar Rameshchandra Patel [Thu, 14 Dec 2006 13:43:44 +0000 (13:43 +0000)]
file si.po was initially added on branch gtk-2-10.
Carlos Garnacho [Thu, 14 Dec 2006 13:15:13 +0000 (13:15 +0000)]
draw arrows pointing to the right correctly placed inside their GdkWindow.
2006-12-14 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkcalendar.c: draw arrows pointing to the right correctly
placed inside their GdkWindow. Bug #385672.
Christian Persch [Thu, 14 Dec 2006 12:28:31 +0000 (12:28 +0000)]
Fix docs typo. Bug #385642.
2006-12-14 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkiconview.c: Fix docs typo. Bug #385642.
Dom Lachowicz [Thu, 14 Dec 2006 02:09:27 +0000 (02:09 +0000)]
Bug 351679 - Notebooks drawn with extra line below tab in MS-Windows
2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
* src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
drawn with extra line below tab in MS-Windows theme. Patch by
Cody Russell
Amitakhya Phukan [Thu, 14 Dec 2006 00:11:37 +0000 (00:11 +0000)]
updated gtk+ assamese translation
Matthias Clasen [Wed, 13 Dec 2006 18:44:45 +0000 (18:44 +0000)]
Add --unlink-tempfile to the evince call for print preview. (#370041, Ghee
2006-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Add --unlink-tempfile to the evince call
for print preview. (#370041, Ghee Teo)
Benjamin Berg [Wed, 13 Dec 2006 17:32:49 +0000 (17:32 +0000)]
- Remove unused code/options from the code. Warn about their usage while
2006-12-13 Benjamin Berg <benjamin@sipsolutions.net>
* engines/clearlooks/src/clearlooks_rc_style.c:
(clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy),
(clearlooks_rc_style_parse), (clearlooks_rc_style_merge):
* engines/clearlooks/src/clearlooks_rc_style.h:
* engines/clearlooks/src/clearlooks_style.c:
(clearlooks_style_draw_box), (clearlooks_style_init_from_rc),
(clearlooks_style_copy):
* engines/clearlooks/src/clearlooks_style.h:
* engines/clearlooks/src/clearlooks_types.h:
- Remove unused code/options from the code. Warn about their usage
while parsing.
* themes/Clearlooks/gtk-2.0/gtkrc:
- Remove options that don't have any effect.
Subhransu Behera [Wed, 13 Dec 2006 09:56:11 +0000 (09:56 +0000)]
Updated Oriya Translation
Subhransu Behera [Wed, 13 Dec 2006 07:38:52 +0000 (07:38 +0000)]
Updated Oriya Translation
Francisco Javier F. Serrador [Tue, 12 Dec 2006 16:21:17 +0000 (16:21 +0000)]
Updated Spanish translation.
2006-12-12 Francisco Javier F. Serrador <serrador@openshine.com>
* es.po: Updated Spanish translation.
Matthias Clasen [Mon, 11 Dec 2006 15:35:25 +0000 (15:35 +0000)]
Be more careful when overdrawing antialiased text. (#352435, Alex Jones,
2006-12-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
careful when overdrawing antialiased text. (#352435, Alex Jones,
patch by Benjamin Otte)
Matthias Clasen [Mon, 11 Dec 2006 06:16:21 +0000 (06:16 +0000)]
Change the way in which color scheme information is merged to correctly
2006-12-11 Matthias Clasen <mclasen@redhat.com>
* gtksettings.c: Change the way in which color scheme information
is merged to correctly handle vanishing colors. (#374420,
Benjamin Berg, patch by Callum McKenzie)
Also allow to separate entries in color schemes by ';'
instead of newline.
Matthias Clasen [Mon, 11 Dec 2006 04:08:42 +0000 (04:08 +0000)]
Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2006-12-10 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
Properly pass multi-value options to cups. (#355350, Jürg Billeter)
Kristian Rietveld [Sun, 10 Dec 2006 20:52:05 +0000 (20:52 +0000)]
cancel editing (ie. don't accept changes) when the entry loses focus.
2006-12-10 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
cancel editing (ie. don't accept changes) when the entry loses
focus. (Fixes #164494, reported by Chris Rouch).
Matthias Clasen [Sun, 10 Dec 2006 19:34:19 +0000 (19:34 +0000)]
Fix my last commit
Tor Lillqvist [Sun, 10 Dec 2006 09:08:50 +0000 (09:08 +0000)]
Put gdk-pixbuf-query-loaders.exe and gtk-query-immodules-2.0.exe in the
2006-12-10 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
gtk-query-immodules-2.0.exe in the runtime zipfile instead of
developer zipfile. Users might add pixbuf loaders or immodules
even if they are not interested in developing gtk+-using software.
Matthias Clasen [Sun, 10 Dec 2006 06:31:53 +0000 (06:31 +0000)]
Check for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin where
2006-12-10 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for crt_extern.h and _NSGetEnviron.
* gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
environ is not available. (#384168, Min Sik Kim)
Matthias Clasen [Sun, 10 Dec 2006 04:25:46 +0000 (04:25 +0000)]
Behave as documented and close the loader when returning FALSE.
2006-12-09 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Behave as
documented and close the loader when returning FALSE.
Paolo Maggi [Thu, 7 Dec 2006 17:01:16 +0000 (17:01 +0000)]
Fixes bug #383407
2006-12-07 Paolo Maggi <paolo@gnome.org>
Fixes bug #383407
* gtk/gtkentry.c (gtk_entry_set_text): check for
completion->priv->changed_id > 0 before calling
g_signal_handler_[un]block.
(gtk_entry_completion_key_press): does not block/unblock the
"changed"
signal before calling gtk_entry_set_text.
Adam Weinberger [Thu, 7 Dec 2006 16:34:41 +0000 (16:34 +0000)]
Remove nonexistent files, add missing ones. Updated Canadian English
2006-12-07 Adam Weinberger <adamw@gnome.org>
* POTFILES.in: Remove nonexistent files, add missing ones.
* en_CA.po: Updated Canadian English translation.
Adam Weinberger [Thu, 7 Dec 2006 16:25:41 +0000 (16:25 +0000)]
Updated Canadian English translation.
2006-12-07 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Carlos Garnacho [Thu, 7 Dec 2006 15:56:03 +0000 (15:56 +0000)]
do not use xthickness/ythickness, they aren't used any longer for drawing.
2006-12-07 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkcellrendererprogress (compute_dimensions): do not use
xthickness/ythickness, they aren't used any longer for drawing.
Matthias Clasen [Thu, 7 Dec 2006 14:45:04 +0000 (14:45 +0000)]
Fix accelerator clipping